[INFO] fetching crate actix-server 2.0.0-beta.5...
[INFO] building actix-server-2.0.0-beta.5 against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] extracting crate actix-server 2.0.0-beta.5 into /workspace/builds/worker-10/source
[INFO] validating manifest of crates.io crate actix-server 2.0.0-beta.5 on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate actix-server 2.0.0-beta.5
[INFO] finished tweaking crates.io crate actix-server 2.0.0-beta.5
[INFO] tweaked toml for crates.io crate actix-server 2.0.0-beta.5 written to /workspace/builds/worker-10/source/Cargo.toml
[INFO] crate crates.io crate actix-server 2.0.0-beta.5 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 1e9a74464ca819c9caf9cc45f75bbe3366d4adaac88513424224cebbe22ae9c1
[INFO] running `Command { std: "docker" "start" "-a" "1e9a74464ca819c9caf9cc45f75bbe3366d4adaac88513424224cebbe22ae9c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1e9a74464ca819c9caf9cc45f75bbe3366d4adaac88513424224cebbe22ae9c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1e9a74464ca819c9caf9cc45f75bbe3366d4adaac88513424224cebbe22ae9c1", kill_on_drop: false }`
[INFO] [stdout] 1e9a74464ca819c9caf9cc45f75bbe3366d4adaac88513424224cebbe22ae9c1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bf3332b2bda393b424475dfe531680e5a7e5d93ac16d4392ca3a507bdb5381c6
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "bf3332b2bda393b424475dfe531680e5a7e5d93ac16d4392ca3a507bdb5381c6", kill_on_drop: false }`
[INFO] [stderr]    Compiling futures-core v0.3.14
[INFO] [stderr]    Compiling tokio v1.5.0
[INFO] [stderr]    Compiling actix-utils v3.0.0
[INFO] [stderr]    Compiling actix-service v2.0.0
[INFO] [stderr]    Compiling actix-rt v2.2.0
[INFO] [stderr]    Compiling actix-server v2.0.0-beta.5 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 16.33s
[INFO] running `Command { std: "docker" "inspect" "bf3332b2bda393b424475dfe531680e5a7e5d93ac16d4392ca3a507bdb5381c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bf3332b2bda393b424475dfe531680e5a7e5d93ac16d4392ca3a507bdb5381c6", kill_on_drop: false }`
[INFO] [stdout] bf3332b2bda393b424475dfe531680e5a7e5d93ac16d4392ca3a507bdb5381c6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ea02b42faebec06b2b1287a83d36c78d97fdf5bcbf279520f1cf3e282a825cb4
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "ea02b42faebec06b2b1287a83d36c78d97fdf5bcbf279520f1cf3e282a825cb4", kill_on_drop: false }`
[INFO] [stderr]    Compiling actix-server v2.0.0-beta.5 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved imports `tokio::io::AsyncReadExt`, `tokio::io::AsyncWriteExt`
[INFO] [stdout]   --> examples/tcp-echo.rs:26:17
[INFO] [stdout]    |
[INFO] [stdout] 26 | use tokio::io::{AsyncReadExt, AsyncWriteExt};
[INFO] [stdout]    |                 ^^^^^^^^^^^^  ^^^^^^^^^^^^^ no `AsyncWriteExt` in `io`
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 no `AsyncReadExt` in `io`
[INFO] [stdout]    |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]    |
[INFO] [stdout] 26 | use tokio::io::{AsyncRead, AsyncWriteExt};
[INFO] [stdout]    |                 ^^^^^^^^^
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]    |
[INFO] [stdout] 26 | use tokio::io::{AsyncReadExt, AsyncWrite};
[INFO] [stdout]    |                               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_util`
[INFO] [stdout]   --> examples/tcp-echo.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use futures_util::future::ok;
[INFO] [stdout]    |     ^^^^^^^^^^^^ use of undeclared crate or module `futures_util`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `bytes`
[INFO] [stdout]   --> examples/tcp-echo.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use bytes::BytesMut;
[INFO] [stdout]    |     ^^^^^ use of undeclared crate or module `bytes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `actix_rt`
[INFO] [stdout]   --> examples/tcp-echo.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 | #[actix_rt::main]
[INFO] [stdout]    |             ^^^^ could not find `main` in `actix_rt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_util`
[INFO] [stdout]  --> tests/test_server.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use futures_util::future::lazy;
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of undeclared crate or module `futures_util`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `actix_codec`
[INFO] [stdout]   --> tests/test_server.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 |     use actix_codec::{BytesCodec, Framed};
[INFO] [stdout]    |         ^^^^^^^^^^^ use of undeclared crate or module `actix_codec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_util`
[INFO] [stdout]   --> tests/test_server.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 81 |     use futures_util::sink::SinkExt;
[INFO] [stdout]    |         ^^^^^^^^^^^^ use of undeclared crate or module `futures_util`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `bytes`
[INFO] [stdout]   --> tests/test_server.rs:80:9
[INFO] [stdout]    |
[INFO] [stdout] 80 |     use bytes::Bytes;
[INFO] [stdout]    |         ^^^^^ use of undeclared crate or module `bytes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tokio::io::AsyncWriteExt`
[INFO] [stdout]    --> tests/test_server.rs:204:9
[INFO] [stdout]     |
[INFO] [stdout] 204 |     use tokio::io::AsyncWriteExt;
[INFO] [stdout]     |         ^^^^^^^^^^^-------------
[INFO] [stdout]     |         |          |
[INFO] [stdout]     |         |          help: a similar name exists in the module: `AsyncWrite`
[INFO] [stdout]     |         no `AsyncWriteExt` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tokio::io::AsyncWriteExt`
[INFO] [stdout]    --> tests/test_server.rs:274:9
[INFO] [stdout]     |
[INFO] [stdout] 274 |     use tokio::io::AsyncWriteExt;
[INFO] [stdout]     |         ^^^^^^^^^^^-------------
[INFO] [stdout]     |         |          |
[INFO] [stdout]     |         |          help: a similar name exists in the module: `AsyncWrite`
[INFO] [stdout]     |         no `AsyncWriteExt` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `tokio::io::AsyncReadExt`, `tokio::io::AsyncWriteExt`
[INFO] [stdout]    --> tests/test_server.rs:445:21
[INFO] [stdout]     |
[INFO] [stdout] 445 |     use tokio::io::{AsyncReadExt, AsyncWriteExt};
[INFO] [stdout]     |                     ^^^^^^^^^^^^  ^^^^^^^^^^^^^ no `AsyncWriteExt` in `io`
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     no `AsyncReadExt` in `io`
[INFO] [stdout]     |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]     |
[INFO] [stdout] 445 |     use tokio::io::{AsyncRead, AsyncWriteExt};
[INFO] [stdout]     |                     ^^^^^^^^^
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]     |
[INFO] [stdout] 445 |     use tokio::io::{AsyncReadExt, AsyncWrite};
[INFO] [stdout]     |                                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_rt`
[INFO] [stdout]    --> tests/test_server.rs:196:13
[INFO] [stdout]     |
[INFO] [stdout] 196 | #[actix_rt::test]
[INFO] [stdout]     |             ^^^^ could not find `test` in `actix_rt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_rt`
[INFO] [stdout]    --> tests/test_server.rs:268:13
[INFO] [stdout]     |
[INFO] [stdout] 268 | #[actix_rt::test]
[INFO] [stdout]     |             ^^^^ could not find `test` in `actix_rt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_rt`
[INFO] [stdout]    --> tests/test_server.rs:441:13
[INFO] [stdout]     |
[INFO] [stdout] 441 | #[actix_rt::test]
[INFO] [stdout]     |             ^^^^ could not find `test` in `actix_rt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_rt`
[INFO] [stdout]    --> src/lib.rs:119:17
[INFO] [stdout]     |
[INFO] [stdout] 119 |     #[actix_rt::test]
[INFO] [stdout]     |                 ^^^^ could not find `test` in `actix_rt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger`
[INFO] [stdout]   --> examples/tcp-echo.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     env_logger::init();
[INFO] [stdout]    |     ^^^^^^^^^^ use of undeclared crate or module `env_logger`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `ok` in this scope
[INFO] [stdout]    --> examples/tcp-echo.rs:84:17
[INFO] [stdout]     |
[INFO] [stdout] 84  |                 ok(size)
[INFO] [stdout]     |                 ^^
[INFO] [stdout]     |
[INFO] [stdout] help: a tuple variant with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 84  |                 Ok(size)
[INFO] [stdout]     |                 ^^
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 12  | use actix_utils::future::ok;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `lazy` in this scope
[INFO] [stdout]   --> tests/test_server.rs:27:32
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let srv = sys.block_on(lazy(|_| {
[INFO] [stdout]    |                                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `lazy` in this scope
[INFO] [stdout]   --> tests/test_server.rs:88:32
[INFO] [stdout]    |
[INFO] [stdout] 88 |         let srv = sys.block_on(lazy(|_| {
[INFO] [stdout]    |                                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `lazy` in this scope
[INFO] [stdout]    --> tests/test_server.rs:157:32
[INFO] [stdout]     |
[INFO] [stdout] 157 |         let srv = sys.block_on(lazy(|_| {
[INFO] [stdout]     |                                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `lazy` in this scope
[INFO] [stdout]    --> tests/test_server.rs:172:41
[INFO] [stdout]     |
[INFO] [stdout] 172 | ...                   rt.on_start(lazy(move |_| {
[INFO] [stdout]     |                                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `shutdown` found for struct `actix_rt::net::TcpStream` in the current scope
[INFO] [stdout]    --> tests/test_server.rs:259:14
[INFO] [stdout]     |
[INFO] [stdout] 259 |         conn.shutdown().await.unwrap();
[INFO] [stdout]     |              ^^^^^^^^ method not found in `actix_rt::net::TcpStream`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context
[INFO] [stdout]    --> tests/test_server.rs:247:14
[INFO] [stdout]     |
[INFO] [stdout] 247 |     for _ in 0..12 {
[INFO] [stdout]     |              ^ cannot infer type for type `{integer}`
[INFO] [stdout]     |
[INFO] [stdout] note: the type is part of the `async fn` body because of this `await`
[INFO] [stdout]    --> tests/test_server.rs:248:20
[INFO] [stdout]     |
[INFO] [stdout] 248 |         let conn = tokio::net::TcpStream::connect(addr).await.unwrap();
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context
[INFO] [stdout]    --> tests/test_server.rs:247:17
[INFO] [stdout]     |
[INFO] [stdout] 247 |     for _ in 0..12 {
[INFO] [stdout]     |                 ^^ cannot infer type for type `{integer}`
[INFO] [stdout]     |
[INFO] [stdout] note: the type is part of the `async fn` body because of this `await`
[INFO] [stdout]    --> tests/test_server.rs:248:20
[INFO] [stdout]     |
[INFO] [stdout] 248 |         let conn = tokio::net::TcpStream::connect(addr).await.unwrap();
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context
[INFO] [stdout]    --> tests/test_server.rs:247:14
[INFO] [stdout]     |
[INFO] [stdout] 247 |     for _ in 0..12 {
[INFO] [stdout]     |              ^^^^^ cannot infer type for type `{integer}`
[INFO] [stdout]     |
[INFO] [stdout] note: the type is part of the `async fn` body because of this `await`
[INFO] [stdout]    --> tests/test_server.rs:248:20
[INFO] [stdout]     |
[INFO] [stdout] 248 |         let conn = tokio::net::TcpStream::connect(addr).await.unwrap();
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context
[INFO] [stdout]    --> tests/test_server.rs:247:14
[INFO] [stdout]     |
[INFO] [stdout] 247 |     for _ in 0..12 {
[INFO] [stdout]     |              ^^^^^ cannot infer type for type `{integer}`
[INFO] [stdout]     |
[INFO] [stdout] note: the type is part of the `async fn` body because of this `await`
[INFO] [stdout]    --> tests/test_server.rs:248:20
[INFO] [stdout]     |
[INFO] [stdout] 248 |         let conn = tokio::net::TcpStream::connect(addr).await.unwrap();
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read_buf` found for struct `actix_rt::net::TcpStream` in the current scope
[INFO] [stdout]   --> examples/tcp-echo.rs:57:38
[INFO] [stdout]    |
[INFO] [stdout] 57 |                         match stream.read_buf(&mut buf).await {
[INFO] [stdout]    |                                      ^^^^^^^^ method not found in `actix_rt::net::TcpStream`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_all` found for struct `actix_rt::net::TcpStream` in the current scope
[INFO] [stdout]   --> examples/tcp-echo.rs:64:40
[INFO] [stdout]    |
[INFO] [stdout] 64 | ...                   stream.write_all(&buf[size..]).await.unwrap();
[INFO] [stdout]    |                              ^^^^^^^^^ method not found in `actix_rt::net::TcpStream`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `shutdown` found for struct `actix_rt::net::TcpStream` in the current scope
[INFO] [stdout]    --> tests/test_server.rs:354:14
[INFO] [stdout]     |
[INFO] [stdout] 354 |             .shutdown()
[INFO] [stdout]     |              ^^^^^^^^ method not found in `actix_rt::net::TcpStream`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `shutdown` found for struct `actix_rt::net::TcpStream` in the current scope
[INFO] [stdout]    --> tests/test_server.rs:360:14
[INFO] [stdout]     |
[INFO] [stdout] 360 |             .shutdown()
[INFO] [stdout]     |              ^^^^^^^^ method not found in `actix_rt::net::TcpStream`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0698]: type inside `async` block must be known in this context
[INFO] [stdout]   --> examples/tcp-echo.rs:53:25
[INFO] [stdout]    |
[INFO] [stdout] 53 |                     let mut size = 0;
[INFO] [stdout]    |                         ^^^^^^^^ cannot infer type for type `{integer}`
[INFO] [stdout]    |
[INFO] [stdout] note: the type is part of the `async` block because of this `await`
[INFO] [stdout]   --> examples/tcp-echo.rs:64:33
[INFO] [stdout]    |
[INFO] [stdout] 64 | ...                   stream.write_all(&buf[size..]).await.unwrap();
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0698]: type inside `async` block must be known in this context
[INFO] [stdout]   --> examples/tcp-echo.rs:57:31
[INFO] [stdout]    |
[INFO] [stdout] 57 |                         match stream.read_buf(&mut buf).await {
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}`
[INFO] [stdout]    |
[INFO] [stdout] note: the type is part of the `async` block because of this `await`
[INFO] [stdout]   --> examples/tcp-echo.rs:64:33
[INFO] [stdout]    |
[INFO] [stdout] 64 | ...                   stream.write_all(&buf[size..]).await.unwrap();
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0698]: type inside `async` block must be known in this context
[INFO] [stdout]   --> examples/tcp-echo.rs:59:32
[INFO] [stdout]    |
[INFO] [stdout] 59 | ...                   Ok(0) => break,
[INFO] [stdout]    |                          ^ cannot infer type for type `{integer}`
[INFO] [stdout]    |
[INFO] [stdout] note: the type is part of the `async` block because of this `await`
[INFO] [stdout]   --> examples/tcp-echo.rs:64:33
[INFO] [stdout]    |
[INFO] [stdout] 64 | ...                   stream.write_all(&buf[size..]).await.unwrap();
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0698]: type inside `async` block must be known in this context
[INFO] [stdout]   --> examples/tcp-echo.rs:62:32
[INFO] [stdout]    |
[INFO] [stdout] 62 | ...                   Ok(bytes_read) => {
[INFO] [stdout]    |                          ^^^^^^^^^^ cannot infer type for type `{integer}`
[INFO] [stdout]    |
[INFO] [stdout] note: the type is part of the `async` block because of this `await`
[INFO] [stdout]   --> examples/tcp-echo.rs:64:33
[INFO] [stdout]    |
[INFO] [stdout] 64 | ...                   stream.write_all(&buf[size..]).await.unwrap();
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0698]: type inside `async` block must be known in this context
[INFO] [stdout]   --> examples/tcp-echo.rs:64:55
[INFO] [stdout]    |
[INFO] [stdout] 64 | ...                   stream.write_all(&buf[size..]).await.unwrap();
[INFO] [stdout]    |                                             ^^^^ cannot infer type for type `{integer}`
[INFO] [stdout]    |
[INFO] [stdout] note: the type is part of the `async` block because of this `await`
[INFO] [stdout]   --> examples/tcp-echo.rs:64:33
[INFO] [stdout]    |
[INFO] [stdout] 64 | ...                   stream.write_all(&buf[size..]).await.unwrap();
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0698]: type inside `async` block must be known in this context
[INFO] [stdout]   --> examples/tcp-echo.rs:64:55
[INFO] [stdout]    |
[INFO] [stdout] 64 | ...                   stream.write_all(&buf[size..]).await.unwrap();
[INFO] [stdout]    |                                             ^^^^^^ cannot infer type for type `{integer}`
[INFO] [stdout]    |
[INFO] [stdout] note: the type is part of the `async` block because of this `await`
[INFO] [stdout]   --> examples/tcp-echo.rs:64:33
[INFO] [stdout]    |
[INFO] [stdout] 64 | ...                   stream.write_all(&buf[size..]).await.unwrap();
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `shutdown` found for struct `actix_rt::net::TcpStream` in the current scope
[INFO] [stdout]    --> tests/test_server.rs:419:14
[INFO] [stdout]     |
[INFO] [stdout] 419 |             .shutdown()
[INFO] [stdout]     |              ^^^^^^^^ method not found in `actix_rt::net::TcpStream`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]   --> examples/tcp-echo.rs:29:1
[INFO] [stdout]    |
[INFO] [stdout] 29 | async fn main() -> io::Result<()> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 15 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599, E0698, E0752.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `shutdown` found for struct `actix_rt::net::TcpStream` in the current scope
[INFO] [stdout]    --> tests/test_server.rs:425:14
[INFO] [stdout]     |
[INFO] [stdout] 425 |             .shutdown()
[INFO] [stdout]     |              ^^^^^^^^ method not found in `actix_rt::net::TcpStream`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context
[INFO] [stdout]    --> tests/test_server.rs:350:14
[INFO] [stdout]     |
[INFO] [stdout] 350 |     for _ in 0..5 {
[INFO] [stdout]     |              ^ cannot infer type for type `{integer}`
[INFO] [stdout]     |
[INFO] [stdout] note: the type is part of the `async fn` body because of this `await`
[INFO] [stdout]    --> tests/test_server.rs:357:9
[INFO] [stdout]     |
[INFO] [stdout] 357 | /         TcpStream::connect(addr2)
[INFO] [stdout] 358 | |             .await
[INFO] [stdout] 359 | |             .unwrap()
[INFO] [stdout] 360 | |             .shutdown()
[INFO] [stdout] 361 | |             .await
[INFO] [stdout]     | |__________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context
[INFO] [stdout]    --> tests/test_server.rs:350:17
[INFO] [stdout]     |
[INFO] [stdout] 350 |     for _ in 0..5 {
[INFO] [stdout]     |                 ^ cannot infer type for type `{integer}`
[INFO] [stdout]     |
[INFO] [stdout] note: the type is part of the `async fn` body because of this `await`
[INFO] [stdout]    --> tests/test_server.rs:357:9
[INFO] [stdout]     |
[INFO] [stdout] 357 | /         TcpStream::connect(addr2)
[INFO] [stdout] 358 | |             .await
[INFO] [stdout] 359 | |             .unwrap()
[INFO] [stdout] 360 | |             .shutdown()
[INFO] [stdout] 361 | |             .await
[INFO] [stdout]     | |__________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context
[INFO] [stdout]    --> tests/test_server.rs:350:14
[INFO] [stdout]     |
[INFO] [stdout] 350 |     for _ in 0..5 {
[INFO] [stdout]     |              ^^^^ cannot infer type for type `{integer}`
[INFO] [stdout]     |
[INFO] [stdout] note: the type is part of the `async fn` body because of this `await`
[INFO] [stdout]    --> tests/test_server.rs:357:9
[INFO] [stdout]     |
[INFO] [stdout] 357 | /         TcpStream::connect(addr2)
[INFO] [stdout] 358 | |             .await
[INFO] [stdout] 359 | |             .unwrap()
[INFO] [stdout] 360 | |             .shutdown()
[INFO] [stdout] 361 | |             .await
[INFO] [stdout]     | |__________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context
[INFO] [stdout]    --> tests/test_server.rs:350:14
[INFO] [stdout]     |
[INFO] [stdout] 350 |     for _ in 0..5 {
[INFO] [stdout]     |              ^^^^ cannot infer type for type `{integer}`
[INFO] [stdout]     |
[INFO] [stdout] note: the type is part of the `async fn` body because of this `await`
[INFO] [stdout]    --> tests/test_server.rs:357:9
[INFO] [stdout]     |
[INFO] [stdout] 357 | /         TcpStream::connect(addr2)
[INFO] [stdout] 358 | |             .await
[INFO] [stdout] 359 | |             .unwrap()
[INFO] [stdout] 360 | |             .shutdown()
[INFO] [stdout] 361 | |             .await
[INFO] [stdout]     | |__________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context
[INFO] [stdout]    --> tests/test_server.rs:415:14
[INFO] [stdout]     |
[INFO] [stdout] 415 |     for _ in 0..5 {
[INFO] [stdout]     |              ^ cannot infer type for type `{integer}`
[INFO] [stdout]     |
[INFO] [stdout] note: the type is part of the `async fn` body because of this `await`
[INFO] [stdout]    --> tests/test_server.rs:422:9
[INFO] [stdout]     |
[INFO] [stdout] 422 | /         TcpStream::connect(addr2)
[INFO] [stdout] 423 | |             .await
[INFO] [stdout] 424 | |             .unwrap()
[INFO] [stdout] 425 | |             .shutdown()
[INFO] [stdout] 426 | |             .await
[INFO] [stdout]     | |__________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context
[INFO] [stdout]    --> tests/test_server.rs:415:17
[INFO] [stdout]     |
[INFO] [stdout] 415 |     for _ in 0..5 {
[INFO] [stdout]     |                 ^ cannot infer type for type `{integer}`
[INFO] [stdout]     |
[INFO] [stdout] note: the type is part of the `async fn` body because of this `await`
[INFO] [stdout]    --> tests/test_server.rs:422:9
[INFO] [stdout]     |
[INFO] [stdout] 422 | /         TcpStream::connect(addr2)
[INFO] [stdout] 423 | |             .await
[INFO] [stdout] 424 | |             .unwrap()
[INFO] [stdout] 425 | |             .shutdown()
[INFO] [stdout] 426 | |             .await
[INFO] [stdout]     | |__________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context
[INFO] [stdout]    --> tests/test_server.rs:415:14
[INFO] [stdout]     |
[INFO] [stdout] 415 |     for _ in 0..5 {
[INFO] [stdout]     |              ^^^^ cannot infer type for type `{integer}`
[INFO] [stdout]     |
[INFO] [stdout] note: the type is part of the `async fn` body because of this `await`
[INFO] [stdout]    --> tests/test_server.rs:422:9
[INFO] [stdout]     |
[INFO] [stdout] 422 | /         TcpStream::connect(addr2)
[INFO] [stdout] 423 | |             .await
[INFO] [stdout] 424 | |             .unwrap()
[INFO] [stdout] 425 | |             .shutdown()
[INFO] [stdout] 426 | |             .await
[INFO] [stdout]     | |__________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context
[INFO] [stdout]    --> tests/test_server.rs:415:14
[INFO] [stdout]     |
[INFO] [stdout] 415 |     for _ in 0..5 {
[INFO] [stdout]     |              ^^^^ cannot infer type for type `{integer}`
[INFO] [stdout]     |
[INFO] [stdout] note: the type is part of the `async fn` body because of this `await`
[INFO] [stdout]    --> tests/test_server.rs:422:9
[INFO] [stdout]     |
[INFO] [stdout] 422 | /         TcpStream::connect(addr2)
[INFO] [stdout] 423 | |             .await
[INFO] [stdout] 424 | |             .unwrap()
[INFO] [stdout] 425 | |             .shutdown()
[INFO] [stdout] 426 | |             .await
[INFO] [stdout]     | |__________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `actix-server`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no method named `read` found for struct `actix_rt::net::TcpStream` in the current scope
[INFO] [stdout]    --> tests/test_server.rs:527:20
[INFO] [stdout]     |
[INFO] [stdout] 527 |     let n = stream.read(&mut buf).await.unwrap();
[INFO] [stdout]     |                    ^^^^ help: there is an associated function with a similar name: `ready`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `shutdown` found for struct `actix_rt::net::TcpStream` in the current scope
[INFO] [stdout]    --> tests/test_server.rs:530:12
[INFO] [stdout]     |
[INFO] [stdout] 530 |     stream.shutdown().await.unwrap();
[INFO] [stdout]     |            ^^^^^^^^ method not found in `actix_rt::net::TcpStream`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read` found for struct `actix_rt::net::TcpStream` in the current scope
[INFO] [stdout]    --> tests/test_server.rs:534:20
[INFO] [stdout]     |
[INFO] [stdout] 534 |     let n = stream.read(&mut buf).await.unwrap();
[INFO] [stdout]     |                    ^^^^ help: there is an associated function with a similar name: `ready`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `shutdown` found for struct `actix_rt::net::TcpStream` in the current scope
[INFO] [stdout]    --> tests/test_server.rs:537:12
[INFO] [stdout]     |
[INFO] [stdout] 537 |     stream.shutdown().await.unwrap();
[INFO] [stdout]     |            ^^^^^^^^ method not found in `actix_rt::net::TcpStream`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read` found for struct `actix_rt::net::TcpStream` in the current scope
[INFO] [stdout]    --> tests/test_server.rs:541:20
[INFO] [stdout]     |
[INFO] [stdout] 541 |     let n = stream.read(&mut buf).await.unwrap();
[INFO] [stdout]     |                    ^^^^ help: there is an associated function with a similar name: `ready`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `shutdown` found for struct `actix_rt::net::TcpStream` in the current scope
[INFO] [stdout]    --> tests/test_server.rs:544:12
[INFO] [stdout]     |
[INFO] [stdout] 544 |     stream.shutdown().await.unwrap();
[INFO] [stdout]     |            ^^^^^^^^ method not found in `actix_rt::net::TcpStream`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read` found for struct `actix_rt::net::TcpStream` in the current scope
[INFO] [stdout]    --> tests/test_server.rs:551:20
[INFO] [stdout]     |
[INFO] [stdout] 551 |     let n = stream.read(&mut buf).await.unwrap();
[INFO] [stdout]     |                    ^^^^ help: there is an associated function with a similar name: `ready`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `shutdown` found for struct `actix_rt::net::TcpStream` in the current scope
[INFO] [stdout]    --> tests/test_server.rs:554:12
[INFO] [stdout]     |
[INFO] [stdout] 554 |     stream.shutdown().await.unwrap();
[INFO] [stdout]     |            ^^^^^^^^ method not found in `actix_rt::net::TcpStream`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read` found for struct `actix_rt::net::TcpStream` in the current scope
[INFO] [stdout]    --> tests/test_server.rs:561:20
[INFO] [stdout]     |
[INFO] [stdout] 561 |     let n = stream.read(&mut buf).await.unwrap();
[INFO] [stdout]     |                    ^^^^ help: there is an associated function with a similar name: `ready`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `shutdown` found for struct `actix_rt::net::TcpStream` in the current scope
[INFO] [stdout]    --> tests/test_server.rs:564:12
[INFO] [stdout]     |
[INFO] [stdout] 564 |     stream.shutdown().await.unwrap();
[INFO] [stdout]     |            ^^^^^^^^ method not found in `actix_rt::net::TcpStream`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read` found for struct `actix_rt::net::TcpStream` in the current scope
[INFO] [stdout]    --> tests/test_server.rs:571:20
[INFO] [stdout]     |
[INFO] [stdout] 571 |     let n = stream.read(&mut buf).await.unwrap();
[INFO] [stdout]     |                    ^^^^ help: there is an associated function with a similar name: `ready`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `shutdown` found for struct `actix_rt::net::TcpStream` in the current scope
[INFO] [stdout]    --> tests/test_server.rs:574:12
[INFO] [stdout]     |
[INFO] [stdout] 574 |     stream.shutdown().await.unwrap();
[INFO] [stdout]     |            ^^^^^^^^ method not found in `actix_rt::net::TcpStream`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 43 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599, E0698.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "ea02b42faebec06b2b1287a83d36c78d97fdf5bcbf279520f1cf3e282a825cb4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ea02b42faebec06b2b1287a83d36c78d97fdf5bcbf279520f1cf3e282a825cb4", kill_on_drop: false }`
[INFO] [stdout] ea02b42faebec06b2b1287a83d36c78d97fdf5bcbf279520f1cf3e282a825cb4
